package cn.wolfcode.education.domain;

import lombok.*;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor

public class Menu {
    private Long id;

    private String text;

    private String url;

    private String iconCls;

    private Long parentId;
    /**
     * 查询子节点
     */
    private List<Menu> children = new ArrayList<>();

}